package tech.aistar.Vo;

import tech.aistar.entity.User;

import java.util.Set;

public class UserVo extends User {
    //多个订单
    private Set<OrdVo> ordVoSet;


//多个商品

    private Set<ItemVo> itemVoSet;

    public UserVo(Set<OrdVo> ordVoSet, Set<ItemVo> itemVoSet) {
        this.ordVoSet = ordVoSet;
        this.itemVoSet = itemVoSet;
    }

    public UserVo(String u_name, String p_password, String u_gender, Integer u_id, Set<OrdVo> ordVoSet, Set<ItemVo> itemVoSet) {
        super(u_name, p_password, u_gender, u_id);
        this.ordVoSet = ordVoSet;
        this.itemVoSet = itemVoSet;
    }
}
